#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>

void testModifyPATH()
{
    while(1)
    {
        printf("我是bash的子进程，pid:%d,ppid:%d\n",getpid(),getppid());
        sleep(1);
    }
}

int main()
{
    testModifyPATH();

    return 0;
}
